#!/usr/local/env python3
#author:fonzie
import os
from perIP.BaseHandler import StaticFileHandler
from perIP import views

current_path = os.path.dirname(os.path.abspath(__file__))

urls = [
    (r'/', views.IndexHandler),
    (r'/perip', views.PerIp),
    (r'/(.*)', StaticFileHandler, dict(paht=os.path.join(current_path, 'html'), default_filename='index.html'))
]